
type tag = {
    id: number,
    title: string
}
//添加
export interface Eassay {
    title: string,
    rich_text: string,
    textual: string
    Essay_type: string,
    cover_img: string,
    tags: tag[],
    publish_time?: number,
    end_time?: number

}
//返回
export interface Eassay_edit {
    _id: string,
    title: string,
    rich_text: string,
    textual: string
    Essay_type: string,
    cover_img: string,
    tags: tag[],
    end_time: number
}
export interface Eassay_detaile {
    _id?: string,
    title: string,
    rich_text: string,
    textual: string,
    Essay_type: string,
    cover_img: string,
    tags: tag[],
    end_time: number,
    publish_time?: number,
    browse?: number,
    likes?: [],
    review?: number,
}

export interface Video_detail {
    comment
    :
    number
    cover_img
    :
    string
    end_time
    :
    number
    likes
    :
    []
    publish_time
    :
    number
    rich_text
    :
    string
    textual
    :
    string
    title
    :
    string
    video_url
    :
    string
    view
    :
    number
    _id
    :
    string
}